import yaml
obj=yaml.load(
"""
-
  - Hesperiidae
  - Papilionidae
  - Apatelodidae
  - Epiplemidae
-
  - China
  - Canada
""")

dic=yaml.load(
"""
hero:
  hp: 34
  sp: 8
  level: 4
orc:
  hp: 12
  sp:
    - 12
    - 30
  level: 2
""")
print dic
